package org.thread.test05.syn.homework.demo02.test02;

/**
 * 用户
 * @author CSY
 * @date 2025 - 03 - 12
 */
public class User {
    private String name;
    private String msg;

    public User(){}

    public User(String name, String msg) {
        this.name = name;
        this.msg = msg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
